<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ taglib uri="http://www.ld.com/system/tags" prefix="system"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<%-- 权限判断 --%>
<shield:permssion type="button">
<table class="tab-list shield-table-odd">
	<col width="60">
	<col width="">
	<col width="">
	<col width="">
	<col width="80">
	<col width="100">
	<col width="">
	<col width="100">
	<col width="85">
    <tr>
    	<th class="taCenter" style="width:30px;" permId="errorlogBatchDel"><input type="checkbox" id="checkall" title="全选"></th>
        <th class="w50 taCenter">序号</th>
	    <th>日志类型</th>
	    <th>日志标题</th>
	    <th>请求URI</th>
	    <th>操作方式</th>
	    <th>操作IP地址</th>
	    <th>用户代理</th>
	    <th>操作用户</th>
        <th class="operate_icon">操作</th>
    </tr>
<c:forEach var="model" items="${pageBean.resultList }" varStatus="var">
    <tr>
    	<td style="text-align: center;" permId="errorlogBatchDel"><input type="checkbox" name="id" value="${model.id }"></td>
        <td style="text-align: center;">${(pageBean.currentPage -1)*pageBean.pageSize+var.count }</td>
        
	   	<td title="${model.logType }">${model.logType }</td>
	   	<td title="${model.logTitle }">${model.logTitle }</td>
	   	<td title="${model.requestUri }">${model.requestUri }</td>
	   	<td title="${model.requestMethod }">${model.requestMethod }</td>
	   	<td title="${model.remoteAddr }">${model.remoteAddr }</td>
	   	<td title="${model.userAgent }">${model.userAgent }</td>
		<td title="${model.createByName }">${model.createByName }</td>
        <td>
        	<!-- href改为data-url -->
            <a data-url="${ctxPathA }/system/bizlog/show" shieldParams="{'id':'${model.id }'}" class="shieldDialog shield-icon show" viewTitle="操作日志表详情" data-icon-title="查看操作日志表详情"
               viewWidth="800"></a>
            <a data-url="${ctxPathA }/system/bizlog/del" shieldParams="{'id':'${model.id }'}"  class="shieldAjax shield-icon del" viewTitle="确定要删除该条记录吗?"></a>
        </td>
    </tr>
</c:forEach>
<c:if test="${empty pageBean.resultList }">
	<!-- 无数据时展示，有数据时展示上面的列表 -->
	<tr class="nodatatr_plugin">
        <td colspan="8" class="taCenter">暂无数据</td>
    </tr>
</c:if>
</table>
</shield:permssion>
<%@include file="/WEB-INF/view/a/include/pagination.jsp"%>